package com.yingxue.demo.vo.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Package: com.company.scaffold.vo.resp
 * @Author: Mr.Waves
 * @Date: 2020-03-08 18:35
 * @Description: 统一响应领域模型
 **/
@Data
public class ResultVO<T> {
    @ApiModelProperty(value = "请求响应code，0为成功，其他为失败",name = "code")
    private Integer code;

    @ApiModelProperty(value = "请求响应提示信息",name = "message")
    private String message;

    @ApiModelProperty(value = "请求响应数据",name = "code")
    private T data;

}
